
using System;
using HermesPortal.Core; 
/// <summary>
/// This object represents the properties and methods of a Creator.
/// </summary>

[Serializable]
public class Creator   
{
    protected int _id;

    protected int _defaultAccess;
    protected bool _isBrowser;
    protected bool _canAdd;
    protected SagaRoles _sagaRoleID = SagaRoles.Browser  ;
    protected int _defaultSagaID = 0;
    protected string _sagaRoleName = string.Empty;
    protected string _userName = string.Empty;  
    
    public Creator()
    {
    }

    #region Public Properties
  
    public int CreatorID
    {
        get { return _id; }
        set { _id = value; }
    }
    public int Id
    {
        get { return _id; }
        set { _id = value; }
    }
    public string UserName
    {
        get { return _userName; }
        set { _userName = value; }
    }
   
    public bool IsBrowser
    {
        get { return _isBrowser; }
        set { _isBrowser = value; }
    }

    public bool CanAdd
    {
        get { return _canAdd; }
        set { _canAdd = value; }
    }
    public int DefaultSagaID
    {
        get { return _defaultSagaID; }
        set { _defaultSagaID = value; }

    }
    public string SagaRoleName
    {
        get { return _sagaRoleName; }
        set { _sagaRoleName = value; }
    }
    public SagaRoles SagaRoleID
    {
        get { return _sagaRoleID; }
        set { _sagaRoleID = value; }
    }
  
    #endregion

}
